package com.hfut.jpoa.dao;

import com.hfut.jpoa.common.dto.ResultDto;
import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.dto.QuoteDTO;
import com.hfut.jpoa.model.Quote;

public interface QuoteDAO
{
	public int deleteByPrimaryKey(Integer quoteid) throws DaoException;

	public void insert(Quote record) throws DaoException;

	public void insertSelective(Quote record) throws DaoException;

	public Quote selectByPrimaryKey(Integer quoteid) throws DaoException;

	public int updateByPrimaryKeySelective(Quote record) throws DaoException;

	public int updateByPrimaryKey(Quote record) throws DaoException;

	public ResultDto<Quote> findInfoForPage(QuoteDTO condition)
	        throws DaoException;

	public Quote findInfoForPage(Quote condition) throws DaoException;
}